#include <QtGui/QApplication>
#include "FrakOutCurrentVersion.h"
#include "FrakOutMainWindow.h"
#include "FrakOutVersion.h"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    // Set the version of FrakOut!
    FrakOutCurrentVersion::instance()->setVersion(FrakOutVersion::V1_0_0());

    // Set application data that will be used when populating the registry.
    a.setApplicationName(a.translate("main", "FrakOut"));
    a.setApplicationVersion(FrakOutCurrentVersion::instance()->version()->versionString());
    a.setOrganizationName("cjr");
    a.setOrganizationDomain("cjr.me.uk");

    // Create the main window and show it.
    FrakOutMainWindow w;
    w.show();
    return a.exec();
}
